/**
 * @author NestorangeloG
 */
/*
var scriptList = [
	libPath + 'prototype-1.7/prototype-1.7.js',
	libPath + 'scriptaculous-js-1.9.0/scriptaculous.js',
	libPath + 'singleton/Singleton.js',
	scriptPath  + 'controller/ClaycodeController.js'
];
*/
var Application = null;

function loadAppFiles(){
	$('body').hide();
	try {
		$LAB.setGlobalDefaults({
			CacheBust: true
		}).script(scriptList).wait(function(){
			$('body').show();
			startApp();
		});
	}catch(e){
		$('body').show();
	}
};

function loadFiles(scriptList, callBackFunction){
	$LAB
	.setGlobalDefaults({
		CacheBust: true
	})
	.script(scriptList)
	.wait(function(){
		callBackFunction();
	});
}
/*

function Person(name){
	this.name = '';
	this.setName = function(name){
		this.name = name;
	}
	
	this.getName = function(){
		return this.name;
	}
	return this.setName(name);
}

var ayo = new Person('ayo');

debugger;

*/